package com.bs.resa.dao;

import com.bs.resa.pojo.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DepartmentMapper {
    /**
     * 查询所有部门
     * @return
     */
    List<Department> queryAll();

    List<Map<String,Object>> queryChild(@Param("did") String id);
}